package cn.janus.entity;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author janus
 * @since 2024-08-02
 */
@Data
@ApiModel(value = "Roles对象", description = "")
public class Roles implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("role_id")
    private Integer roleId;

    private String roleName;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;


    @Override
    public String toString() {
        return "Roles{" +
                "roleId = " + roleId +
                ", roleName = " + roleName +
                ", createdAt = " + createdAt +
                ", updatedAt = " + updatedAt +
                "}";
    }
}
